package com.totoro.tyrank.utils;

import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;

public class PlayerUtil {

    public Boolean isBlank(OfflinePlayer player) {
        if(null == player) {
            return false;
        }
        return null != player.getUniqueId();
    }

    public Boolean isNotBlank(OfflinePlayer player) {
        return !isBlank(player);
    }
}
